.groups {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 10px;
}

.group {
  cursor: default;
  header {
    align-items: center;
    display: flex;
    font-size: 13px;
    padding: 8px 20px;
  }
  header:hover {
    background-color: #f0f0f0;
  }
  header .collapse {
    margin-right: 4px;
    transition: all 0.3s;
    svg {
      fill: #7c7c7c;
    }
  }
  &.opened header .collapse {
    transform: rotate(90deg);
  }
  header .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &.partial > header :global(.ant-radio-inner) {
    border-color: #ccc;
    &::after {
      background-color: #e5e5e5;
    }
  }
}

.accounts {
  .account {
    overflow: hidden;
    padding: 8px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account:hover {
    background-color: #f0f0f0;
  }
  .name {
    padding-left: 20px;
  }
  .remark {
    color: #ccc;
  }
}

.group.single {
  .account {
    padding-left: 32px;
  }
  .accounts .name {
    padding-left: 0;
  }
}
